package com.cx.service.serviceimp;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.cx.entity.Content;
import com.cx.mapper.ContentMapper;
import com.cx.service.ContentService;
@Service
public class ContentServiceImpl implements ContentService{

    @Resource
    private ContentMapper contentMapper;

    @Override
    public int insert(Content record) {
        return contentMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(Content record) {
        return contentMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Content record) {
        return contentMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(Content record) {
        return contentMapper.insertSelective(record);
    }

    @Override
    public int batchInsert(List<Content> list) {
        return contentMapper.batchInsert(list);
    }

}
